<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table border="1" width="60%" cellspacing="0">
        <thead>
            <tr><th>编号</th><th>姓名</th><th>性别</th><th>生日</th><th>电话</th><th>操作</th></tr>
        </thead>

        <tbody>
            <tr th:each="man : ${list}">
                <td th:text="${man.id}"></td>
                <td th:text="${man.name}"></td>
                <td th:text="${man.sex}"></td>
                <td th:text="${man.birthday}"></td>
                <td th:text="${man.phone}"></td>
                <td><a th:href="@{/man/del(id=${man.id})}">删除</a>
                    <a th:href="@{/man/findById(id=${man.id})}">修改</a>
                </td>
            </tr>
        </tbody>
    </table>
    <a href="/add.html">添加</a>
</body>
</html>